package com.yisa.person.entity;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.data.mongodb.core.mapping.Field;
import org.springframework.data.mongodb.core.mapping.MongoId;

@Data
@ToString
@Accessors(chain = true)
public class FaceGroup {

    /**
     * 使用 @MongoID 能更清晰的指定 _id 主键
     */
    @MongoId
    @Field("_id")
    private Long id;
    @Field("person_id")
    private String personId;
    @Field("personnel_name")
    private String personnelName;
    // 身份证号
    @Field("personnel_id_number")
    private String personnelIdNumber;
    @Field("personnel_photo_url")
    private String personnelPhotoUrl;
    // 性别 1男 2女
    private Integer gender;
    private Long birthday;

    @Field("household_code")
    private Integer householdCode;
    @Field("household_address")
    private String householdAddress;

    private Long ttamp;

    // 更新状态  0：同步未补充字段  1： 同步已补充字段
    private Integer status;

}